Profile

interface Profile

A profile allows keeping all browser info separately, like history, proxy settings, spellchecker configurations.

For working with this info each profile provides different services such as plugins, spellchecker configurations, cookie store, etc.

Profiles are managed by the separate engine service.

The default profile is initialized when the engine is created. It can not be removed.

Any attempt to use an already removed profile or profile whose engine is closed will lead to the IllegalStateException.

Functions

Link copied to clipboard
abstract fun browsers(): List<Browser>
Returns an immutable list of alive Browser instances including child popup browsers for this profile or an empty list if the profile does not have any alive Browser.
Link copied to clipboard
abstract fun cookieStore(): CookieStore
Returns the cookie store that allows managing cookies.
Link copied to clipboard
abstract fun creditCards(): CreditCards
Returns a service that allows managing credit cards.
Link copied to clipboard
abstract fun downloads(): Downloads
Returns a service that allows managing downloads.
Link copied to clipboard
abstract fun engine(): Engine
Returns the engine for this profile.
Link copied to clipboard
Returns a service for working with HTTP authentication cache.
Link copied to clipboard
abstract fun httpCache(): HttpCache
Returns a service for working with HTTP cache.
Link copied to clipboard
abstract fun isDefault(): Boolean
Returns true if this profile is default.
Link copied to clipboard
abstract fun isIncognito(): Boolean
Returns true if this profile is in incognito mode.
Link copied to clipboard
abstract fun mediaCasting(): MediaCasting
Returns a service that provides access to all the required media casting services.
Link copied to clipboard
abstract fun name(): String
Returns a name of this profile.
Link copied to clipboard
abstract fun network(): Network
Returns a service that allows working with network.
Link copied to clipboard
abstract fun newBrowser(): Browser
Creates a new Browser instance under this profile and navigates it to the "about:blank" web page within the defaultTimeout.
Link copied to clipboard
Returns a service for working with the password store.
Link copied to clipboard
abstract fun path(): String
Returns a system path to the folder with the profiles`s info.
Link copied to clipboard
abstract fun permissions(): Permissions
Returns a service that allows managing permissions.
Link copied to clipboard
abstract fun plugins(): Plugins
Returns a service that allows configuring plugins.
Link copied to clipboard
Returns the preferences for this profile.
Link copied to clipboard
abstract fun proxy(): Proxy
Returns a service that allows working with proxy.
Link copied to clipboard
abstract fun spellChecker(): SpellChecker
Returns a service that allows working with spell checking functionality.
Link copied to clipboard
Returns a service that allows managing the user data profiles.
Link copied to clipboard
abstract fun zoomLevels(): ZoomLevels
Returns a service that allows working with zoom.